﻿
<!doctype html>
<html lang="en">
<head>
    <title>新建文件夹/重命名</title>
    <base target="_self" />
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <link href="yaml/core/base.min.css" rel="stylesheet" />
    <link href="yaml/forms/gray-theme.css" rel="stylesheet" />
    <link href="yaml/screen/typography.css" rel="stylesheet" />
    <!--[if lte IE 7]>
      <link rel="stylesheet" href="yaml/core/iehacks.min.css" type="text/css"/>
      <![endif]-->
    <!--[if lt IE 9]>
      <script src="yaml/lib/html5shiv/html5shiv.js"></script>
      <![endif]-->
    <script src="Scripts/jquery-1.7.min.js" type="text/javascript"></script>
    <script>
        function retInput() {
            var txtVal = $("#txt").val();
            if(txtVal=="") {
                alert('请输入文件名称');
                $("#txt").focus();
                return false;
            } else {
                window.returnValue = $("#txt").val(); window.close();
            }
        }
    </script>
</head>
<body>
    <form class="ym-form">
        请输入文件/文件夹名称:<br />
        <input type="text" id="txt" name="txt"/>
        <input type="button" id="btnOk" onclick="retInput();" value="确定" />
        <input type="button" id="btnCancel" onclick="window.close();" value="取消" />
    </form>
</body>
</html>